parse_git_branch() {
    (git branch || arc branch) 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1 /'
}

export EDITOR=vim
export VISUAL="vim"
export GIT_EDITOR="vim"
export PATH="$HOME/vcpkg:$HOME/.cargo/bin:$HOME/go/bin:$HOME/bin:$PATH"
export VCPKG_ROOT=$HOME/vcpkg
export PS1='%B%F{yellow}%~%f %F{green}$(parse_git_branch)%f%F{cyan}%#%f %b'

setopt PROMPT_SUBST

